package com.example.mymvvmdemo.models.add_article.entity;

import android.net.Uri;

public class AddArticleEntity {

    public int resId;
    public boolean isHavePic;
    private Uri imageUri;

    public AddArticleEntity(int resId, boolean isHavePic) {
        this.resId = resId;
        this.isHavePic = isHavePic;
    }

    @Override
    public String toString() {
        return "AddArticleEntity{" +
                "resId=" + resId +
                ", isHavePic=" + isHavePic +
                ", imageUri=" + imageUri +
                '}';
    }

    public int getResId() {
        return resId;
    }

    public void setResId(int resId) {
        this.resId = resId;
    }

    public boolean isHavePic() {
        return isHavePic;
    }

    public void setHavePic(boolean havePic) {
        isHavePic = havePic;
    }
    
    public Uri getImageUri() {
        return imageUri;
    }
    
    public void setImageUri(Uri imageUri) {
        this.imageUri = imageUri;
    }
}
